package com.edu.service.user;

import com.edu.entity.user.EduUser;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserService {
    EduUser findUserByName(String name);
    EduUser findUserById(int id);
    void insertUser(EduUser eduUser);
    List<EduUser> pageList();
}
